#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>

union un
{
	char c;
	int i;
}u;

int main()
{
	u.i = 10;
	u.c = 5;
	printf("%d ", u.c);
	printf("%d ", u.i);
	return 0;
}

//int main()
//{
//	printf("%d\n", sizeof(char));
//	printf("%d\n", sizeof(short));
//	printf("%d\n", sizeof(int));
//	printf("%d\n", sizeof(long));
//	printf("%d\n", sizeof(long long));
//	printf("%d\n", sizeof(float));
//	printf("%d\n", sizeof(double));
//	printf("%d\n", sizeof(long double));
//	return 0;
//}